import axios from '@/libs/request'

// 获取状态
export const getState = (data) => {
  return axios.request({
    url: '/wl/getState',
    data: data,
    type: 'get',
    php: true

  })
}
// 查询
export const searchCommonExcel = (data) => {
  return axios.request({
    url: '/wl/searchCommonExcel',
    data: data,
    type: 'get',
    php: true

  })
}
// 增删改
export const operationCommonExcel = (data) => {
  return axios.request({
    url: '/wl/api/operationCommonExcel',
    data: data,
    type: 'post',
    php: true

  })
}
// 获取Url
export const getUrl = (Url) => {
  return axios.request({
    url: Url,
    type: 'get'

  })
}
// 启动服务器
export const runTick = (url) => {
  return axios.request({
    url: url,
    type: 'get',
    php: true

  })
}
